package com.feng.spring.hibernate.extend.core;

import org.hibernate.SessionFactory;

import java.lang.reflect.Method;
import java.util.List;
import java.util.Map;

/**
 * sql执行器
 */
public interface HibernateExtendSQLExecutor {

    void decorate(Map<String, Object> paramsKeyValue);

    Object execute(Method method,  SessionFactory sessionFactory, String sql, List<Object> queryParams);
}
